Issue #2344257 by slashrsm: Dynamically generate routes.
Merge pull request #16 from slashrsm/gen_routes

Issue #2344257 by slashrsm: Dynamically generate routes.