Refactor XStatePosition & MoveNext
Added Creation unit tests for XDynamicWorkflow

- Updated naming for workflow object
- Added sample unit tests