Added a method to write an address to EEProm
Moved several utility functions into a library.