Refactored discovery service API and added discovery for hue binding