Create StateMachine.h