Reorganized source code so there is only one library for all common
utilities.