Use GenericEvent

Closes https://github.com/PistonDevelopers/sprite/issues/30
Merge pull request #32 from bvssvni/master

Use GenericEvent