New error page template
New object-oriented design