I’ve ordered all the things you told me to now will it still workJust as well you showed it. The connector is non-standard. I'd keep the cable, cut off the burnt connectors and the connectors on the controller, then solder the wires together and insulate with heatshrink - two layers on the phase wires.