broke getModality into setHostInfo and getHostSettings
use setHostInfo to set keys for each host, add comments