introduce simple finite state machine base class for managing behavior
introduce simple finite state machine base class for managing behavior