Attempting to instance Main in EventListener to access methods