improved cache router added send and send-crnl route instruction
use size_t instead of int in io functions