moved working memory to mongodb