implemented basic skeleton for PWM parsing.