Removed main from Extractor, moved to extractor