Eliminated private lines method and created Extractor class in its place