added resource conversion function capability for all resource types. added example for non-quality, parent class usage