Simple low-level mongo db interface. (toy code)