Added TupleGenerator.

* Added parsing for distribution parameters
* Fixed a bug in spark loval variables
* Renamed classes.