More extraction

extract ADC operation to adc.h; extract bluetooth operation to
bluetooth.h
More extraction