Rewrote to simplify somewhat.

- Restructured to allow different configurations. Ugly #ifdefs
- Added channel info to ow-sensor.