extracted class loader generation to provider class

Hi Kristof,

Can You review my changes?

I added a ServicePluginsClassLoaderProvider interface with a default implementation that uses the original approach for backwards compatibility/ease of use.

Regards,

Glenn