break queryconfig up into components