Addressed @petehunt code review

* Added logger function with option for verbose in config file
* Changed console.log to console.error for errors
* Used === for string comparison
* Fixed typo in README.md