adding/editing/deleting of templates...making #272 functionally complete, minus the preview/WYSIWYG mode