Add base logic for syncing

I would like the name `fils_metadata.client` better.