refactoring reporter
beginning refactor of the scanner