Reverted lib/hash additions
Updated .gitignore to include OS generated files