Implemented Mongo DB logic.
checking
Removed unnecessery files