Refactor so sync can be instantiated separate from local and remote.
Removed local stuff from sync and put it in Local class.
Added test for sync upload, download to follow...