Destroying the singleton at the end
Fix singleton for calling the destructor
Base PWM functionality
Move PWM functionality to the separate manager
PWMManager class implementation