added mesh class to gfxlib