add finction extract_
fixed directories
revert original files
Merge pull request #2 from carand/modified

Modified