changed RewriteBase to /syncdata
removed no longer needed code
Start with the checking tables routine
changed field 'checksum' to 'origin_checksum' and added 'last_checksum'