added classes for light and raspberryPi