decided to remove metadata feature, too much of a PITA in C
finished removing references to metadata
cleaning up data declarations