First swing at client-side code
Refactor rsync