added 404, 500, mailer, and search (not 100%)