mesh handling moved to the new meshMan class