Merged webserver code with light sensor code.