added pwm namespace to lib