Third changes to Main and Metadata

In metadata, I changed it so it no longer iterates over the entire data
set, it just takes one argument.  Now metadata can take one argument.