Mesh & MeshArray refactoring