Generate the needed class for a list screen based on a model class