Attempt on syncing to and from server, my head is a mess