Create CleaningThread.java

Initial source code from regular Java threads version