adding catch for socket timeout
condensed all thermistor calculations to a single file.  moved to a modules folder so that I can import it into other scripts.