A simple mongo handler. Translates Structs into Mongo and back.