Refactor Sensor code, separate each IC.