Thin database wrapper for MongoDB from the book _Scala In Action_; with my modifications