Move the context data inside the state machine server.  Add events.c/.h to GIT and shell actions.c/.h code.  Minor update to state machine diagram.