Power is supplied to both green and blue wires to power the motor. The motor reverses based on which wire gets the positive and negative from the battery through two independent relays. The two relays does the switching depending on the Up and Down T&T switch. No electrical connection to ground...