Initial port of the Java driver code to CSharp. This only supports Mac, ...

...the Windows parts are incomplete