Fixes 46; move compute logistic for each host in separate class