Added required functions
Refactored min, max, default temperatures
I added LOADS of cool things. I need to remember to commit more