BitTorrent full code