added routes and migration/model