rewrote insertRelationships to remove Java dependency and store relationships in native R objects; wrote method to retrieve stored relationships and return to caller as a data frame.