Simple class to wrap mongodb