Refactored the peer discovery services into components/peerdiscovery