added a error template dir and a 500 skeleton