MongoDB client allowing for environment variable based configuration