Move all center/game code into core