Implemented basic syncing of remote objects

I would indent `delete_if_missing` to be under `remote`, I think that would be more readable.