Adding mongo db configuration.