         super.viewDidLoad()
         
         self.title = "Molecules"
+        
+        /* Core Data
+        println("Load default molecules")
+        var error: NSError? = nil
+        var fReq: NSFetchRequest = NSFetchRequest(entityName: "Molecule")
+        
+        // fReq.predicate = NSPredicate(format:"name CONTAINS 'B' ")
+        
+        var sorter: NSSortDescriptor = NSSortDescriptor(key: "vendorId" , ascending: true)
+        fReq.sortDescriptors = [sorter]
+        
+        var result = self.cdh.managedObjectContext.executeFetchRequest(fReq, error:&error)
+        
+        for resultItem : AnyObject in result {
+            var mol = resultItem as Molecule
+            NSLog("Fetched Molecule \(mol.vendorId)")
+        }
+        */
     }
     
     override func numberOfSectionsInTableView(tableView: UITableView!) -> Int {


import Foundation
import UIKit

class MoleculeTableViewController: UITableViewController, UITableViewDelegate, UITableViewDataSource {
    
    var pdbFileList: [String] = [
        "1crn", // Bonding needs fixes
        "ala",
        "atp",
        "benzene", // Aromatic bonds needed
        "cys",
        //"dna",
        "gc-zdna", // Bonding needs fixes
        "octane",
        "trp"
    ];

            cell = MoleculeTableViewCell(style: UITableViewCellStyle.Default, reuseIdentifier: "MolCell")
        }
        
        cell.nameLabel!.text = self.pdbFileList[indexPath.row]
        
        return cell
    }
