Added TemplateVariable class

Added TemplateVariable class