Sync adapater

Sync adapter is finished and test are added.