Implemented accelerometer in mockapp using library