Remove all Java codes. Now all codes are written by Scala