Revert "added mongodb changes"

This reverts commit df739e49144167a43e530a4cbaedd5b636e5de40.