avim protocal and router  impl