[IPTorrents] Reworked code