Log output to file.
Fix requiring webapp.rb in config.ru
Set the correct KAKU programme ids.
Initialize WebSocket connection after body is rendered.

This makes the base_path accessible, since it is rendered as a body data attribute.
Use 'content' field in AllLightsController to iterate the lights.
Use instance variable to render the base_path in index.html.

It does not seem possible to directly call the base_path method from the template.