     {
         self.started = true
         NSURLProtocol.registerClass(NFXProtocol)
-        print("netfox 1.0 - [https://github.com/kasketis/netfox]: Started!")
+        print("netfox \(nfxVersion) - [https://github.com/kasketis/netfox]: Started!")
         clearOldData()
     }
     

        do {
            let documentsPath = NSSearchPathForDirectoriesInDomains(NSSearchPathDirectory.DocumentDirectory, NSSearchPathDomainMask.AllDomainsMask, true).first!
            let filePathsArray = try NSFileManager.defaultManager().subpathsOfDirectoryAtPath(documentsPath)
            print(filePathsArray)
            
            for filePath in filePathsArray {
                if filePath.hasPrefix("nfx") {
                    try NSFileManager.defaultManager().removeItemAtPath((documentsPath as NSString).stringByAppendingPathComponent(filePath))


import Foundation
import UIKit

var nfxVersion = "1.0"

@objc
public class NFX: NSObject
