add StartupManager to reduce the code in Bootprobram.cpp file