Added high-level API for accessing the ADC service inside the main program.