added a class called Playlist to maintain the playlist for AVPlayer