refactoring TemplateTO -> id is separate now, created a detail panel for page