PID library refactored
refactor code a bit, extract adc to temperature conversion to separate function