added adc files, fixed main