Created separate file for temperature service functions
Created separate file for temperature service functions