Added pause menu. Refactored Player class