Finish Kernel + Comments + Doxygen

1. Kernel has been checked and some bugs have been fixed.
2. All comments have been finished.
3. Use Doxygen to generate document.