add getClient() to MongoConnectionManager and V2

Clean up MongoConnectionManager and import exception class