Why not use a decoder that will plug into the socket, therefore eliminating wiring issues.
Rotor
Jake: How often does the train go by? Elwood: So often you won't even notice ...