mesh/buffer classes nearly complete