add function of sharing
Merge pull request #2 from WangXuanBT/feature/lib

add function of sharing