started to implment sensors as classes