Add key_table to rtr_init function and invocation