Initial sync operations (local -> hdfs -> local)

@markhibberd @raronson @charleso 
Just browsing the code: there's typo here -> `fromRepoisitory`