pulled out configuration and modularized routes