Sprint5 templates

bunch of progress on template UI and workflow