Templating! Woo hoo! Also added a styled 404/500 page.