Separate code into package 'torrent'