introduction of an "embedded" mongodb database