generalize metadata

In this process i removed some unused and potentially dangerous cli apps for feature stores.
(by keep going, I mean we should push this change all the way through - because it is still a lot better than before - and raise an issue to revisit Reference)