Put ocsync to a private library - WIP