populate model class with properties