refactored the plugins to have an initialise method that takes in the parameters from the configuration