Introducing a base LoadTask to indicate if the task being executed is a load task. Refactoring queries to be executed by a QueryTask.