Merge pull request #2 from ebbyw/master

merge
Added Events
Merge pull request #4 from RaulCarv/master

events class and basic stuff