add the viewer template with all files