starting event handlers

Very primative event handler and event management system