Renamed LogListener to StateMachine