Making mongo configurable