Separated IrSensor and MergingIrSensor classes from being defined in same file