Added generator interface and two generators of random variables (table and uniform)