Implemented link hashing and saving