added sqlite db storage for sensor data