added gitnore
refactor extractor