Updated the core and Html package classes. Added an event class.