Added loading data, preprocessing, calculation median and mean