Implemented downloads from server
Fixed sync overwriting