Refactored code
Added 'hysterese'
Added PUMP relais + refactoring