Added basic syncing function to find best table matches and returns a dictionary of table ids