Code refactor, added league endpoint and fixed some response objects