This class can scan directory to detect file changes. It can perform an initial scan to a given directory and records in a MySQL database the files that were found, as well the respective hashes. The class can perform subsequent scans to detect any files that were added, changed or deleted. The class can also setup the database tables to perform the initial configuration.