Refactoring lineChartData to introduce controllers - separated lineChart model