add a new ActivitySensor class