Basic structure for the ViewGenerator