Add XML-resource system