alter configuration so that only a single mongo instance is used even for replicaset connections; make configuration overridable by environment variable
working, just need to add some more diagnostic logging
fix handling of boolean env vars and log replSetStatus