- Hooking up controller to main script.
- Fixed log path.
- Renamed device write method to send (it is now a slightly higher level of abstraction).
Switch off the light when stopping.