put all mongo config in the config file