make main function accessible from java tooling