Added NativeMethods.cs

Added NativeMethods.cs with some of the type information necessary.