Added ADC to binary protocol
Code cleanup