Java implementation of Go engine