[WIP] First basic implementation of PolyCollection.

This is a WIP PR (not ready to merge yet), but the basic functionality is working...
I will add more things here the following days.