Some initial work on a REST interface for the sprinkler controller.