added java driver for light switch