Fix extractor config conditions

Was causing configuration to be wrong (wouldn’t match path1 OR path2,
for example)
Add ability to turn extractor config into a string
Move commands into core from server