add some skeleton code for the template management