implemented a ResourceManager as base class of StorageManager