why is it that extracting 100 elements a problem?
Whether to make it object oriented using classes is a matter of convenience.
As long as you know what to extract, you have solved half the problem. please go through the tutorials on the link that I gave you before.