remove blank line
add new "add-dm" jni method, improve model, new chunks