add main service provider class