generalize metadata

In this process i removed some unused and potentially dangerous cli apps for feature stores.
We should pull these out as standard command line parsers. But just raise it as separate issue.

Is related to pirate change.