Added indexes
Removed some code duplication
DIFF_STORE environment variable
Removed old commented out code
Removed unneeded stringify_keys