server simplification code and mongo functionality addition
Merge branch 'dev' of https://github.com/DRI-Dev/dricode into dev