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

    *   Starts magnetometer updates, providing data to the given handler through the given queue.
    *   You can access the retrieved values either by a Trailing Closure or through a Delegate.
    */
    @availability(iOS, introduced=5.0)
    public func getMagnetometerValues (interval: NSTimeInterval = 0.1, values: ((x: Double, y:Double, z:Double) -> ())? ){
        
        var valX: Double!

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