Mongo example with promises.