implement dynamic route loader