Introduced Entity class. Moved all mutations of entities to the Event classes. Created Event filtering among methods.