fixed typos
fixed bug: get only public properties
removed parent constructor call with database name
added database in mongo uri
select database from mongo uri
hold database object after a database is selected
removed method getDatabase()
get database object from connection object and not from a document object
changes in the code examples due to api changes