Add plugin class
Control the number of threads used
Allow changing the thread limit