Implemented the CMake configuration. Merged debug.h/c to kbest_io_utility.h/c