initial check-in
updated several intialization routines, modularized some of the code,
work has yet to be done on eeprom and ble transmit op