refactored PD framework, now using new sigrok.Decoder object