generate models for specified tables