Add u.torrent and refactor btorrent.py