adding tx enpoint example
better structure, pushing down the fine grained REST API
Tweaks for the Java/Jersey client examples.