some configs and start building routes to db