switch out metasyntactic test variable for actual variable.
remove creation of new object in RetrieveClass, move to main.r
start apply.fun in AnalysisClass, designed as a generalised function to run in lapply() calls