added functions to get host from configuration
Extracted host specific functions from class DhcpConfig to new class
HostsContainer