Add class to read/write stats
Write data to CSV file