Fixed java api. Commented out repl subproject: not compiling yet.