refactoring
Now tracks last synced file and folder, to skip those that have been done already
Tidying up