adding templates, some create / delete functionality