refactor COnfigManager a bit to let one set domains on queries.