autodiscover first draft
implemented provideMetadata methods