added some migration and a template