added base Sensor object and had halleffect inherit from it