Incorporated query task classes

Query task classes load data from database asynchronously.