Add HostsManager class

HostsManager concern is the actual management of hosts in the network.