updated config initializer and route