add prepare method

add generateDataForTable it's prepare data for table
that can be changed to set it's value for Webservice or from other
ViewController