server.app now uses the template.compile function