wip: metadata

#### TODO

- [ ] hook up to index
Yeah, it's a very rough draft anyway.