Basis for tree analysis

Use this to start saving comment tree data.