Added event API functionality
Added unit-tests
Merge pull request #66 from Coenego/issue-66-event-api

Add event API functionality