Introduced a struct 'HostInfo' to aggregate information about hosts.

Changed configuration file reading. Previously there were different
file types identified by header texts. Now there is only one type.
However a line in the file specifies what type of fields are present.