refactoring. Added multithread for download torrent. Fix pathTo