Define ZAN class and implement sync method. sync synchronize between local repository and dfs repository