Lightweight Mongo implementation