SyncAdapter

This commit implements the SyncAdapter