.
Temperature class for measuring temperature in seperate thread.