revise EEPROM class to derive from Device class