Added an event system. Not sure if its fully functional though.
Version bump