Added basic ability to create a generic template and edit it;