Refactor  TrimControllerFromTypeName
Validate custom URL paths
Add support for resource-specific routes
Exclude BenchmarkTests from standard test run