Adds ResourceManager class.