Simple interface under MongoDB, middlware for martini framework.