wip: metadata

#### TODO

- [ ] hook up to index