Cleanup.

Moved some stuff around.
Added a switch panel module.
Test harness for switch panel.