Changed class definitions for loading hosts from output file