Updated code that retrieves OpenShift MongoDB connection information from the environment