Proper vertex positions, surface decomposition and faces export. Option to compiller to accept xml string argument instead of file path