add JNI interface to MLP, begin add SOM, delete semaphore& worker