@Override
 public void run(ApplicationConfiguration crawlerConfiguration, Environment environment)
     throws Exception {
   final TodoService todoServiceResource = new TodoService();
   final TemplateHealthCheck templateHealthCheck =
       new TemplateHealthCheck(crawlerConfiguration.getTemplate());
   environment.healthChecks().register("template", templateHealthCheck);
   environment.jersey().register(todoServiceResource);
 }