Changed bittorrent methods to my own

added the creation of a real torrent file as well when requesting a
torrent