First import of code into MatterSlice

We need all this code to be fully managed c# so here is the first
commit. It is still not working 100% but it is closer.