cleanup of server, initial setup for JAX RS