Refactored config and protocol classes. Added ConfigUriBeacon class