Refactor the code for DNSSD in to Discoverer class