rename some old variables refering to lines into variables refering to corridors ; remove some useless methods