cleanup module
have to load metadata before loading binary data TODO: check that metadata is not loaded twice
fix wrong kvp name