Introduced a service for leagues to handle the communication with the server.