added missing State.h and StateMachine.h