Add folder syncing

Fixes #26