A service manager for bootstrapping dependency injection