Mongodb M101 Class (Python)