Split out EventHandler.py