Move hosts and pools into their own classes and build them only when needed