base router

base router with yaml config