add setServices method for service container, fixed preload services missing issue