More FSM

Constructed the FSM.  Next step is to fill in the execute functions of
the actions and the context data.