Refactored the Torrent class into the BaseTorrent class