moved league logic to server folder since no logic for client is left in it