adding route and config