re organize the code for easily debug
Add basic tetra shape configuration to the mesh for easily debug