Refacotring to add support for multiple gmame modes, as well as to ix errors for multiple games in one league