Added new features

... and rearranged Event.php.
You might want to add tests of these features to the example script (and then run it to check for bugs -- thanks in advance!).