You are right. It is connected to the transformer.
Voltage on the primary side is 165 VDC but there is no output. Looks like the transformer( EE16-L7) is busted as well. The board connected to the cable (J2) works fine with 3-4.5V using external power. I guess I need to find a transformer to step down 165VDC to 4.5-5V and a schottky power rectifier. There is no space and if I have to go with wire type, I may have to drill a hole and insert it from the other side.
Thank you for the help.