Adds SystemStateMachine classes and tests