work on refactoring syncing daemons to work directly with swift