Nuget support

Initial pull request to kickstart code review. This is still work in progress.