I am afraid that you will have to strip the bike down again and go slowly through some tests to find what is shorting out the battery.I put the new sensors in, and wired up a new cable, and went to try it out when there was an almighty fizzle and then everything died. I discovered that a fuse in the battery had blown. so I replaced the fuse and it happened again. I assume this means a blown controller? If much more like this happens I think I'll cry!
First thing to do is unplug the battery and not connect again until you have cleared the fault.
Remove all the all the connectors going from the controller to the bike.
Post some images so that we can see the controller and it's connector wiring
You then need to use a multimeter and measure the resistance of the two pins of controller that was supplying the battery feed.