Query now has for each query type a function which returns an response object. This means that the program now first runs all by the commandline specified queries and later prints them all collected responses to stdout (up until now it made a query and printed it. Then made another query...).