merging core directory with arch directory
enhancing klib.h comments