Added REST interface

Added RESTful interface for the ledController.