Initial work on StatMesh class.