Added VB.NET version and cleaned.

Included a vb.net conversion of the C# Contracts.
Cleaned files and code.