Moving game logic in its own namespace