add a connection class and a MongoClient implentation