added api for eventsystem
Merge pull request #13 from ItsAsbreuk/master

added api for eventsystem