routes and schema