add scheduler, tasks, begin work with scheduler and second thread
add queue logic