move GameLogic class to GameLogic.h