Add primitive routing system

Signed-off-by: Ian Macalinao <ianmacalinao@gmail.com>