add polygon and vertex clases