Created PolygonTool class