added opensearch plugin and autodiscovery