Working through the mongo c++ driver