Added routes and database