Added rudimentary event handling

Added rudimentary event handling
Merge pull request #8 from gtbass/master

Added rudimentary event handling