Major refactoring plus adding eeprom mirror of main register
More refactoring
Disabling RESET and defining In1 In2 Out1 Out2
Added ability to not save register to eeprom and fixing pins numbers