Simple state controller for managing states of experiments