Added routes and migrations