satandardize variable names across templates & generators

Simplifies working with templates and getTemplates's str_replace is ripe for refactoring now.