updates
reorg gyro code