added event firing
Merge pull request #2 from csuwildcat/master

added event firing, updated demo with example