make state machine abstract and force definitions with configureMachine