public static void main(String[] args) {

        Spark.get(new Route("/") {
            @Override
            public Object handle(Request request, Response response) {
                Configuration configuration = new Configuration();
                configuration.setClassForTemplateLoading(HelloWorldSparkFreemarkerStyle.class, "/");
                final StringWriter writer = new StringWriter();
                HashMap<String, Object> helloMap = new HashMap<String, Object>();
                helloMap.put("name", "John Smith");
                try {
                    Template template = configuration.getTemplate("hello.ftl");
                    template.process(helloMap, writer);
                } catch (Exception e) {
//                    halt(500);
                    e.printStackTrace();
                }
                return writer;
            }
        });
    }