pushed implementation of unload to ResourceManager