added re re-design code, and some functions in ADXL lib