M101P Mongodb class in nodejs