added header, and some small fixes
good for aniwar
为什么别人写的就这么简洁好用。。。