refactored from old threading constructs to Task
Merge pull request #28 from semihokur/master

refactored from old threading constructs to Task