starting an AcceGyro class and corresponding abstractions for saner code