Created a data generator.