Establishment of the multiprocessing in scanner.py