started refactoring of Repository, to reduce code duplication; refactored RProgram, ClusteringQualityMeasure classes