ControllerHandler: Improve readability with additional route constants and reduce logic complexity.