fixed the rotation and added the player class