Update coneGet and coneSet and get rid of the sensor structure inside