Fixed migration error and created some controllers/models