Add views, computation, templates, url and functions for contour