set up basic structure of the template model / views / templates