Refactoring jetty server