The attachment is the butterfly source code and some testcases designed myself, by which you can better understand how to use the light-weighted Ioc framework.