Remove scala, using Java instead. Merge go code to single file.