updating mongo db deprecated classes
updating .gitignore