add libcmd and libutils