Created ResourceDescriptor and ResourceElements class