Added Tempurature DB interfacing.