Added retrying to hub message sending. Moved hub address defines to .h file for other files to use.