     var apisUsed: String
     var recType: Int
     var key: Int
-
+    
     init(id: Int, groupNum: Int, source: String, url: String, title: String, githubName: String, tags: String, image: String, date: Int, isPaywall: Int, apisUsed: String, recType: Int, key: Int) {
-
+        
         self.id = id
         self.groupNum = groupNum
         self.source = source



for row in database {

    let tagList = row.tags.componentsSeparatedByString(":")
    for tag in tagList {
        if tag != "" {
            if let x = allTags[tag] {

                if (date == nil) {
                    date = 20010101
                }
                
                var isPaywall:Int? = Int(aLine[6])
                
                if isPaywall == nil {
                    isPaywall = 0
                }
                
                let apisUsed = aLine[7]
                
                var recType:Int? = Int(aLine[8])
                
                if recType == nil {
                    recType = 0
                }
                
                var recordKey:Int? = Int(aLine[9])
                
                if recordKey == nil {
                    recordKey = 0
                }
                
                let rec = UrlRecord(id: i, groupNum: groupNum, source: source, url: url, title: title, githubName: githubName, tags: tags, image: image, date: date!, isPaywall: isPaywall!, apisUsed: apisUsed, recType: recType!, key:recordKey!)
                database.append(rec)
                
                
            } else {
                print("Error: Invalid Group: \(line)")
            }
