Changed how to implement template code.
In the previous code, I tried to manipulate syntax tree.
In the current code, using HStringTemplate to generate boiler plate code.
It is much easier to generate code than manipulating syntax tree.
template is added.
Class files and InstantiateTemplate are updated to use HSTringTemplate