[ADD]] SLIC class
[TODO] convert all C++ code to Java code