Refactored IR sensor code; split into separate ADC and IR classes
moved IR config code to a test