Remove all static state and remove embedded jetty mode

The use of static state is is problematic when used inside a servlet container as depending on the classloader configuration,
that state may be unintentionally shared across different webapps.