Updating plugin function signature to receive global config as well as plugin specific config.
Improving documentation.
Ensuring the appropriate configuration is loaded when the server is started.