Add rsync logic
Merge pull request #4 from gideonthomas/server

Add rsync logic