I've attatched some photo's...

Photo 1 has what I think is the TDC sensor plug? Am I correct, it's a 3 pin male plug with a 2 pin female plug on the loom side?
Photo 2 is what I'm a little worried about, see pipe 1, the see through one, is this a leak off pipe?

Is this pipe safe as it is, the reason this silicone pipe is cable tied on is because the old one (black hard citroen one) had only one flared end (pump side) and the other side was forced onto the "little black thing" and had split, so i ditched it, I don't think this is a high pressure pipe as it feed back into the fuel pump housing somehow through the "little black thing", am i correct?
Anyway, can anyone identify the 4 pipes going into the "little black thing", what is that "little black thing" called, and what does it do?
And what does that silver thing do at the top of the pump?
Photo 3 is the pump, can anyone identify parts 1 and 2 for me please, I suspect part 1 is the stop solenoid (?), although how this works that stop lever higher up is a mystery to me. Also, wiring goes to this brass coloured thing at the rear of the pump (2), what is that?

Thanks so much guys.