[cloud-sync] - Refactor sync cogenda web server functionality.