refactory AutoBootService