created mainGame with everything working