Added comments, cleaned up the code. No longer send DiscoveryPackets to hosts.