Created default SyncAll function (using $everything) and SyncAllByResourceName which can be used as a fallback.
cleaned up DB layer , dont use Model unless Gorm cannot figure out the table. Use pointers consistently.
When syncing resources, store errors in a map, so that all resources get synced before returing errors