integrate with canvas, started up with another main.js inside eic, and created another PathFinder class