Contour class import
Passing contour index in webpage