Make mongo connection configurable