Started refactoring of Gamestate code by transferring a big part into Room and Player. There's more work to do. Should probably move the rotateGravity class as well.