refactored from thread to task
Merge pull request #20 from semihokur/master

refactored from thread to task