Refactor simple protocol example FSM.  Add beginnings of Task FSM
example