Use StringTemplate/Scalasti for template substitution
Removed old grizzled code (and lib dependency)