Dynamically create handler chains from routes file.