This adds capability to turn on/off accel event data

It also changes how things are handled internaly for better
Merge pull request #18 from hybridgroup/accel-and-refactoring

This adds capability to turn on/off accel event data