Add a templates folder and the error template.