gras: work on generator scripts for template madness
gras: added comments and renamed tmpl args
Merge branch 'generate_templates'
gras: update PMC submodule