Implemented Event Manager.

Check out the Test.java program to see the new Event Manager in action.