moved config and service registration to bootstrap