Create StateMachine.hpp