That demo is way more complicated than it need be.
The cab roof on Thomas is snap fit as seen in the pics,
press in on the front of the cab, and it will release.
the circuit board is screwed to the underside of the cab roof, remove it,
and you now have 4 wires, two from the wheel pickups,
connect red/black decoder wires,
and two for the motor, orange/grey decoder wires.
With the four connections made, address/test on program track,
tuck the decoder/wires back into cab, reinstall roof, and play!
The cab roof on Thomas is snap fit as seen in the pics,
press in on the front of the cab, and it will release.
the circuit board is screwed to the underside of the cab roof, remove it,
and you now have 4 wires, two from the wheel pickups,
connect red/black decoder wires,
and two for the motor, orange/grey decoder wires.
With the four connections made, address/test on program track,
tuck the decoder/wires back into cab, reinstall roof, and play!