Move game logic to separate folder