Changed to use MongoDB::MongoClient as MongoDB::Connection is deprecated