Major cleanup. Accelerometer/Gyroscope component update.