Work in progress. Added very basic remote checksum check, fixed errors. Remote <-> local file comparision on the way.