Template Application and Polymerization of Programmed Self-assembled Monolayers