added viewR html and class viewR in py file