added start of c# wrapper