Read/Write definitions for the scan

Added read and write definitions for scan.py. Also created
analyze_scan.py, which will utilize the read definition and run through
the results of a scan.