adding read.rdf.R and helperFunctions