update log module to use verbose flag
Replace log emits with calls to log module

Use constructor function for creating instance of EventEmitter
Replace log emits with call to log module