make metadata storage pluggable

sounds good