updates README file; updates deprecated code for access to MongoDB