cleanup data_layer, add prefetch_rng_ field to it and use instead of
rand -- Seeded tests still fail