Adding '.idea' to the .gitignore list.
Replacing the deprecated Mongo class with MongoClient instead.