Refine code style and some documents