sorry, cant help you with the reason why someone has butchered your loom ?
but i agree, it is a huge mess, added on extra's that aren't needed, extra joins here and there, bad joins....
the chinese looms are not too good, before someone modify's them,
the wires are too thin, and easily break, and the plugs/sockets have thin terminals that don't always make good contact etc
for both the front and rear lights to be blown, one of them must have failed.
the chinese tail light bulbs are a bit fragile imo,
this would then make the other light glow brighter and caused it to burn out prematurely.
were either of the bulbs black ?
(when you replace them, make sure you use a good quality bulb)
that's good that you recognize the CDI unit, makes my job easier explaining what is needed to get it running
so you have an Outer Rotor Stator unit, it uses an AC fired CDI unit
this is the basic set up pictured below
the yellow wire, is the main power from the Lighting/Charge coil on the Stator, that goes to the Voltage Regulator/Rectifier
the Regulator/Rectifier needs an exciter power wire to set it off and start working properly, sending out a 12v+ charge to the battery.
so you will need to add in a link to join the top right terminal in your Reg/Rect plug to the bottom left terminal.
they are a standard Male crimp terminal
if you look into the plug at the terminals, you will see a tiny plastic tab that holds the terminal into the plug.
push it down/away from the terminal to release the locking tab with a small flat bladed jewellery screwdriver, then the cut off yellow wire should be able to slide out the end of the plug.
now make up a new short link wire with a male spade terminal on one end, and clip it into the plastic plug
the other end of the wire needs to be joined to the yellow wire, that is coming from the stator.
doing this should have your battery charging system back up and running again.
hopefully your regulator is ok, as there are quite a few different ones available.
some are half wave 6v, some are full wave 12v, some are 1 wire hookup, others can be 4, 5 or 6 wire
there are even some
better adjustable regulators available too.
you bought another new regulator iirc ?
now onto the ignition system,
do you have the
big black 8 pin plug that goes into your cdi ?
the wiring colours used on the other end of these are sometimes different, and wont match up
here is a wiring diagram that should help you set it up to work
if you need any more help with it, just let me know and i'll try and guide you through it.
cheers, craig