Refactor player to be a physics object