Cecil
Sorry I didn't get here too soon to help you, I was away for 2 weeks.
The wires should stay away where practical. Dont loose any sleep over it.
I would go with a little larger wire if you can. Try to stick with the same size wire that motor has.
The inputs and outputs should be explained on the xylotex web site or the documentation. It's also setup in the software that you are using. Solid state relays should be used.
Eric