Changed error codes to be part of a typedef enum. Added get functions for getting hub cafe information.