add all truck moving
removed pthreads
refactoring