template changes

In this request delete template function is added, template body is added and mapper key and value removed for view template and tenantIdentifier can be editable in edit template.