Implement listing and deletion of templates; saving of new templates is now reflected in pull-down; refactor to avoid too deep nesting