Mongo DB adapter for codelab-model