create migrations and controllers