mongo document class