PWM speed controller functionality
Added pwm speed controller