Reorganize the code library.