move event and eventemitter to events
fix type hinting
delete old emit
fix typo
rewrite serialize
switch PusherEvent to Event
switch PusherEvent to Event
simplify (pusher)events with separate functions
update todos