Add events handling functionality. on() function and EVENTID object.