spearman, pearson, rmse hooked in + major refactoring