* Upodate for MongoDB Atlast
Previously class took `host` and `port` as a parameter. Connect with MongoDB Atlas it's not possible to provide the host and port as it has a single URL. So directly pass the URL to the MongoClient.
* added mongo db url as a condition to connect to DB
* syntax error
---------
Co-authored-by: Jesse Zhang <jessetanzhang@gmail.com>