created mesh class