Added comments and cleaned up code. Made nemesis a class that extends eventObject.