Implemented the basis for the FSM in ShipBase