 }
 
 
-@objc(MotionKit) public class MotionKit {
+(MotionKit) public class MotionKit {
     
     let manager = CMMotionManager()
     var delegate: MotionKitDelegate?

                valX = data.magneticField.field.x
                valY = data.magneticField.field.y
                valZ = data.magneticField.field.z
                valAccuracy = data.magneticField.accuracy.value
                
                
                if values != nil{

    *  Discussion:
    *   Stops magnetometer updates.
    */
    @available(iOS, introduced=5.0)
    public func stopmagnetometerUpdates() {
        self.manager.stopMagnetometerUpdates()
        NSLog("Magnetometer Updates Status - Stopped")
