Added ResourceManager class