Yeah, keep the 3 wires going to the CDI. That wire in the pic should be the ground for the handlebar kill switch. See where it goes, and if it ties into the ground wire on the bike, keep it.
i dont understand a diagram, so it's useless lol. But what u gonna let that harness go for rob?