Added error files and support for 404 and 500.