Moved facility sync logic out of metadata bundle and into separate sync class