Refactor i torrent finder plugin