Was there a transformer or other board in that unit—where does the AC come in and where does it go?
Where do the pink and green wires run to/from?
Was that black wire from the big black cube broken or exposed when you opened it up? That needs to be well insulated as it is the HV output of a coil such as to fire spark plugs in a car.