Made mongo server configurable