Add initial model migraion.
Fix the templates to work correctly.