Renamed ServiceCollection to ResourceSet. Bug fixes. New speficications.