Server code and handlebars templates for homepage and status page