added some new files for the scanner.
They still need to be finished.