Moved plugins from config.js to index.js
(Threader is not emabled in index.js, this should be kept as an external
plugin)