move code from kernel.c to new file command.h
unit_test.h include command.h