Defined the Sync layout and added some feature