The test game is just a quick and dirty unity game using some free examples and some custom classes I added for testing mono quickly.
The CT file has 2 scripts. The first will use a simplified createstructuredialog with group and structure prefilled in. The second is more explicit and populates each piece using lua including the structure assignment. The structures are in the table and equal the test code in the binary linked.