Complete rewrite, now only wraps torrent clients.