Implemented clearing all the events

Implemented clearing all the events localy. Still no synchronization
though.