insalled packages and set up api for sensor readings