First routes and database