wired up master templates, and removed unnecessary column in template table