Improved HTTP error files and restructured template directory to follow conventions