a simple mongo module that implements the mongo api