Added the lineSensor class