Added functionality to control the color and the brightness of a lamp