Change masterview to layout and htmlpurifiers add