Added code to load the league, nation and club ids