Added NewAppDiscovery for appdiscovery