Shown below is a photo of the controller PCB. The two RJ45 connectors at the top left are the input and output connectors. The RJ12 connector at the top right is used to program the microcontroller using the Microchip ICD in-circuit debugger/programmer. The two position terminal at the top edge of the board is for 120 VAC. There is one two position terminal block at the bottom of the board for each output. I've provided links to the Microchip project file, the assembly code file, and the hex file below.
Microchip Project File
Assembly Code File