Strted on GameLoop and reorganized GameLogic functions