new metadatahandler in-memory