HAPI module that connects to the mongodb.