add information on usage; add utilities to make java access easier