added ResourceManager implementation