added Event class, some simple memory fixes,added shorthand operators to EventRouter