moves the hosts from the java into resource files, could be improved upon, web stuff not done