Coverted code to use SHA1 instead of MD5
Cache files now have a .dat extention at the remote repository side, local cache still without a extention.