Add build scripts

I also updated all the NuGet packages etc.