Restructuring sync bucket methods, decoupling syncBuckets from syncObjects, syncObjects todo: add database query to get bucket list