adding missing PwmThread class