update README for jersey
fix memory leaks