Changed items to use mongodb for insertion of documents
Removing uneccessary items