Merge pull request #3 from settinghead/master

Persist ui flow & unit tests
Only fulfil one goal status at a time