Changing axis structure to table in accelerometer,
Moving method implementation to .cpp file,
Refactor some code.