Add structs and use treeview