wrote some code, accelData class seems to be somewhat coplete