Added event listener pieces
Converted all console logging over to event emits.
Added logging infrastructure to console.
Merge pull request #2 from christav/logging

Logging infrastructure
Merge pull request #14 from christav/master

Logging infrastructure