feat return the stateMachine
Merge pull request #120 from coreos/upstream

feat return the stateMachine