implementing flatten logic in mongo
Merge branch 'dev' of https://github.com/DRI-Dev/dricode