new class Queue is implemented, task domains are saved in db using insertBulk()
tasks are added to Queue object first, then Queue is saved