Export `Extractor` instead of `extract`

extract.js exports a class called `Extractor`, not a function.