add adc
modify makefile for adc
fix comments
remodify main for framework