changes to accelerometer component app to make it ready for finished product