I don't know any details about the wiring or when or who done it.

The cables running to the right of the picture appear to be running down to a switch below, controlling the lights.

And the cable running to the left powering a light.