Kiran | # 743 | Moved classes to the packages they belong.
Kiran | # 743 | Added postgres db configuration. Injected TemplateRepositpry into TemplateResource. This resource now saves a POSTed template into template table.