Added the logic to store the result data by time and by distance. RPE data and graph logic have not been implemented yet.