added LimitSwitch Class