MongoDb helper classes

Implemented base tools for work with mongo database.