improved code quality
added: support for Jersey 2.0