adding getter/setter for version
adding test for Scan class
refactoring how the scan is run (new method "runChecks" added)