If you do some hunting on the OGR forum you can find some good past posts on how to replace it all the details.
The one tip I have is if you are not good at soldering small circuits is I took mine to a local electrical repair shop and they had the skills and tools to quickly for a little $ correctly solder the new wires on.