added accel_data_service
added timer variable and functions