while i don't have time to write a detailed explination,
team novak has some great wiring diagrams to help you ease through your first wiring job.
here's one of their manuals for a speed control,
the controller is different, but the principles are the same.
the diagram is on page two located here.
also check out teamnovak.com for more info on how to set things up and get you started.
welcome to electric my friend.