moved queryDomains from facade into app
moved putDomainName logic into App