refactory jetty