replaced doc structs with compilable code structs
Merge pull request #7 from markturansky/pd_dev

replaced doc structs with compilable code structs