      * END Select image feature
      **/
     
+     /**
+     * Native Timer feature
+     **/
+    func startTimer(operation:String, content:[NSObject:AnyObject]) -> [NSObject:AnyObject]?{
+        self.elapsedTime = 0
+        timer =  NSTimer.scheduledTimerWithTimeInterval(1.0, target: self, selector: Selector("timerTick"), userInfo: nil, repeats: true)
+        
+        return [NSObject:AnyObject]()
+    }
+    
+    func stopTimer(operation:String, content:[NSObject:AnyObject]) -> [NSObject:AnyObject]?{
+        timer?.invalidate()
+        sendtoView("timerComplete", data:["elapsedTime" : self.elapsedTime]);
+        return [NSObject:AnyObject]()
+    }
+    
+    func timerTick(){
+        self.elapsedTime++;
+        sendtoView("timeStep", data:["elapsedTime" : self.elapsedTime]);
+    }
+    
+    /**
+    * END Native Timer feature
+    **/
 
     
 }

        doRegisterFeatures()
        
        registerBridgedFunction("pickImage", bridgedMethod: self.pickImage)
            
        registerFeature(StorageFeature())
        registerFeature(LocalNotificationFeature())
    }

public class NickelWebViewController: UIViewController, WKScriptMessageHandler, WKNavigationDelegate, UIImagePickerControllerDelegate, UINavigationControllerDelegate{
    
    var myWebView:WKWebView?;
    
    var timer:NSTimer?
    
    var elapsedTime:Int = 0
    
    let imagePicker = UIImagePickerController()
    
