Move most of the player's logic into their class, instead of all over the place.