Adds HTML templating and routing.