ScanNumber function + unit tests added + generated files