setting up framework for sensors