Removed unused imports
Fixed error with xml access ambiguity.
Added sample java client