add methods to create and delete templates