API: query and result mock handling using CSV data; GUI: queryResult store refactor