created new class to hold all the points and color flags per object