Add migration,routes and some change in subjects