Creating models and defining ResultsCalculator