Extract the model class
Add Java version predict
tmp commit