mongo class