Use composition as a design pattern. Get data from the scv file, implement plain analysis and return report as html file