Ripple Java API rewrite

Ripple Java API rewrite