 class PlaylistViewController: UICollectionViewController, UICollectionViewDelegate, UICollectionViewDataSource, UICollectionViewDelegateFlowLayout {
     
     let dataSource = PlaylistDataSource()
-   
+    let trackService : TrackService
+  
     // MARK: UIViewController
     
     override func viewDidLoad() {

    // MARK: Init & dealloc
    
    override init() {
        super.init(collectionViewLayout: UICollectionViewFlowLayout())
        collectionView!.registerClass(PlaylistCell.self, forCellWithReuseIdentifier: CellId)
        collectionView!.dataSource = dataSource
        
        let trackService = AbletonTrackService()
        let tracks = trackService.listTracks()
        NSLog("Tracks are \(tracks)")

    }
    
    required init(coder: NSCoder) {

    // MARK: UICollectionViewDelegate
    
    override func collectionView(collectionView: UICollectionView, didSelectItemAtIndexPath indexPath: NSIndexPath) {
      let tracks = trackService.listTracks()
      NSLog("Querying for tracks \(tracks)")
    }
    
    // MARK: UICollectionViewDelegateFlowLayout
