Moved controller input from player.cs to a new class for better access.