 import Foundation
 import AVFoundation
 
-struct RyCooder {
+class RyCooder {
 
     private let runLoop = NSRunLoop.currentRunLoop()
     private let stdinHandle = NSFileHandle.fileHandleWithStandardInput()
     private let songs: [AVPlayerItem]
     private let player: AVQueuePlayer
+
+    private var currentSongIndex = 0
 
     init(pathToStage: String) {
         let musicFiles = RyCooder.musicFilesInDirectory(pathToStage)

    }

    private func logInputTips() {
        print("\nType \"(n)ext\" or \"(p)revious\" to change song.")
        print("Type index number to play that song.")
    }

}

            }
            print("#\(index + 1) -  \(fileName)")
        }
        print("\n===== Type \"(s)tart\" to begin.")
    }

}
