rename variable
add config flag for enabling/disabling routes
refactor and enable disabling of routes