New: accelerometer library and initialization
Clean up