Small changes to classes in index package
Move index classes to nanopub-java