Moving flashlight hardware interface into a class, and adding red LED handling.