Added some mongodb helper classes