Partial implementation of PSU main code
ADC module improvements