add code to load/save configuration in eeprom