Revert "revert to v2"

This reverts commit 4393fdfa7b4d1d3ffdb618c55b59093b42ff4706.
transform to nuget package