Lightweight software stack from scratch, for educational purposes