menu bar added. refacto betwenn map and pathFinder class.