more flexible structure design.

structure is now an array of objects, each with one attribute.  currently only "h" (for header) is used, but plan to expand with other types.