Added supporting for self-initializing DTW and accelerometer sensor