Removed references to UIAccle… and replaced with CMMotion code