transferred Point.as to package math. Modified PathFinder to be
compatible with my style of mapping.