Wrote some more of the mission commander files
Defined a map to call functions based on state reading
Hopefully it's right