refactring comparisons module. Results saving does NOT work at moment