Updated PWM module, added ADC module