Tilovell more metadata ops

I need to merge or rebase, but this is ready for some reviewing I think