Started main iterator

Only wrote centroid finder so far