basic structure to do the sync from local to cloud server. (events)