add readData and simData methods

combine data generators to readData and simData methods