[doc] documenting things
[minor] Code style