Query classes no longer contains data, only the logic of their processing remains.
Query classes are renamed and now each query class contains a postfix "Query".
Add common QueryInterface.