adds mongodb config file