revised collision point code
reorganized the path and mesh interaction classes