created a saveDataIO class