Add 404, 500 and base error templates