added scanner module to scan.py