Basic framework for torrent client.