Added API to create a league.
Added validation when creating a league.