License and small adjustements

adds a simple license and adjust the output mesh to a split disjoint