Added prototype of ShipSlotReader & some refacoring.