update to support on/off until board is fixed.

changes extend lighting controller functionality and make a simple main
function to run one mosfet for now.