generalize metadata

In this process i removed some unused and potentially dangerous cli apps for feature stores.
This API looks a bit unusual. Are we better off having this take `Repository` and a `Identifier`, I think we should be able to avoid passing paths almost totally, and resolving them when we need. I think that will be a lot safer.