Added manage view for listing the template
Changed the template creation function
Added manage view for listing the template