Drifter-like code base for Mongo queries