working in an event system
cleanup of eventmanager
Merge pull request #11 from mrkrstphr/events

Beginnings of an Event Manager