Adds definitions keyed on events
Merge pull request #1 from repeatingbeats/event-definition

Adds definitions keyed on events