Excellent, at least you're making progress.
Am I right in saying the yellow wire and grey wire in the black sleeving is from the rectifier? It's hard to tell from the pics.
What exactly do you have on your switch panel? I'm guessing a key switch, starter button, fuse etc? Can you get decent pics of those?
The CDI cut-off is usually done by closing a ground connection to the CDI (normally open setup). You can take a ground from the main ground point on the engine to the switch/key that is used to cut the engine out. The output from that switch goes directly to the CDI. That way, the engine will run when there's no ground at that CDI wire, but once you turn the key/flip the switch, the CDI gets grounded again and cuts out.
Separately, you can run a constant 12v+ from the solenoid (main terminal on the right) to the panel. This will go into the fuse, out the other side and to the push button that operates the starter. You'll then come out of the push button and back to the lower of the two smaller gauge terminals on the solenoid. All just theory until we know what hardware you have exactly, but hopefully this is helpful in understanding how it works.
__________________
|