altered the layout of hosts, pushed all parameter logic into hosts::params and made some small changes to variable names for readability.