add boot.py
refine the boot structure