Added value param to constructor TemplateVariable

Added optional value param to constructor of the TemplateVariable class
Added TemplateFunction and TemplateObject classes

Added TemplateFunction and TemplateObject classes