Migration to embedded jetty. Rewrite of most of the code.