Can now create thread and add it to scheduler.