Add classes for creating random Figures with data model.

Add classes for creating random Figures with data model.