Changing League object to use postgres instead of mongo