added CMMotionManager to firstviewcontroller