moving mongo initialization to an initializer
changing the persistence model from memory to mongo