Mongo database connection, schema, and routing