Added basic Event class and tests.