Added comments and cleaned the code
Added fritzing for temperature-fan and keypad-unlocker