Implemented the creation of class of resource from resource name that is
declared in xml file.