OK think i figured it out. That black thing on my pipe is a resonator box, just hollow inside. The electrics was the air mass sensor which slides in. And the other thin pipe is the breather. Found one on ebay that has the rubber hole for the sensor. So its all ok.
Thanks anywayz