Add framework for building meshes