Fix singleton for calling the destructor
Base PWM functionality