Remove ComplexDef and move logic to PduDef. No reason to have both of these classes.
Also removed the "main" program from being built, this was just for demonstration purposes. It is no longer needed now that we have a GUI and not worth maintaining.