taking ui initialization out of game constructor.