error handling and html templates
polluting the project with some work-specific hacks - but very cool hacks