in order to keep the crew alive over all the years the captain in transit had cannibalized non-essential systems , turning the life-support into a mass of rerouted wires and cables , their functions no longer recognizable by the ship 's own diagnostics .