move mesh code out of ndsm
RP
beginning pathfinding