better name
extract java access to api module