Don't use static variables if using spring to feed the config values in
This is to ensure that we can provide different types of mongo configurations for different environments