Refactoring: now the host and port are passed as constructor parameter. Removed pymongo dependency on cli example class
clean up