adding ResourceManager
adding ResourceManager