moves game logic into model