added data generator as an AMD module