#34 remove datastore metadata provider from SPI
#34 refactor label aggregation to discriminator aggregation
#34 SPI clean up and documentation