moved query link selection in leagueLinks into linkFactory