move the old vertx and jetty code to sample