A sample with templates and a HTTP server