rework state management so that Starting and Continuing workflows take the same input, which is now a  SerializedState struct.
Merge pull request #60 from sclasen/rework-state-management

rework state management