Added TemplateType

Added templatetype model, controller and views
updated template views and controller
updated migration configuration