modularize GameLogic