moved routes into config settings