Add class spec_mesh.
Add defs.h file with constant parameters.