reorganize lib doc