Fixed some physics and added the player class