adding vertx webserver and some cleanup code