Nuget Cleanup

Cleanup of NuGet Templates and Code Snippets.
* fixed whitespaces
* removed unneccesarily namespaces
* made fields readonly and sealed classes