Added and refactored the pole and line extractor classes, enchanted the GUI