implements build scripts and publish to nuget