updated IN PROGRESS: MongoDB 90% done but the code must be cleaned before the commit