added in logic to add relationships when new concepts or resources are added.