added migrations and template directory