reorganized the gyro code + implemented actual error checking
10 files changed