Added a state manager, which is a listener for the simulation manager.