Clean up express default error handler
Split layout into partials