added routing support in configuration