created eeprom config
created eeprom config
refactored rest of the stuff