Fixed namespace issues in the Database class.
Fixed variable name declaration issues in the Verify::compareHash function