Write a base app service provider.