Passed more objects to the event handlers, updated example and README