code improvement
remove .obj file
Thread terminate remain to be solved