add sensor api
update for sensors
tutorial for sensor