Improving compatibility by using ResourceBackedMetadataProvider instead of FilesystemMetadataProvider which cannot process classpath on some platforms. Moving metadata from security directory to metadata.