Emit events instead of callbacks
Consistent formatting
Merge pull request #1 from matthewspencer/events

Emit events instead of callbacks