Mongo Configuration
Base code.